<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    {% extends "views/role.html" %}

    {% block search %}
        {{ super() }}
    {% endblock %}

    {% block showdata %}
        <table class="table" border="1" style="margin-top: 20px;border-collapse: collapse;border: 2px solid #0000ff">
            <thead style="border: 2px solid #0000ff">
                <tr>
                    <th>姓名</th>
                    <th>手机号</th>
                    <th>角色</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody style="border: 2px solid #0000ff">
                {% for res in searchResult %}
                    <tr>
                        <td>{{res.username}}</td>
                        <td>{{res.phone}}</td>
                        <td>{{res.rolename}}</td>
                        <td>
                            <form method="get" action="">
                                <!-- <input type="submit" value="重置密码">
                                <input type="submit" value="修改"> -->
                                <input type="submit" value="删除">
                            </form>
                        </td>
                    </tr>
                {% endfor %}
            </tbody>
        </table>
    {% endblock %}

</body>
</html>